package sms;

import java.io.IOException;

public class Demo05 {
    public static void main(String[] args) throws IOException {
        //method01();
        StudentManagementSystem03 sms = new StudentManagementSystem03();
        sms.loadStudentsFromFile("day23-IO-02/中学生信息.txt");

        sms.writeRankedStudentsToFile("day23-IO-02/总分排名.txt");


    }

    private static void method01() throws IOException {
        StudentManagementSystem03 sms = new StudentManagementSystem03();
        sms.loadStudentsFromFile("day23-IO-02/小学生信息.txt");

        sms.showAllStudents();
    }
}
